using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Transaction;

namespace Thaire.Investment.Repository.Mapping
{

    class UnitTrustProportionMap : ClassMap<UnitTrustProportion>
    {

        public UnitTrustProportionMap()
        {
            Table("UNIT_TRUST_PROPORTION");
            Id(x => x.ID, "UNIT_TRUST_PROPORTION_ID").GeneratedBy.Identity();

            Map(x => x.UnitTrustHeaderID, "UNIT_TRUST_HEADER_ID");
            Map(x => x.UnitTrustDate, "UNIT_TRUST_DATE");
            Map(x => x.UnitTrustItem1, "UNIT_TRUST_ITEM_1");
            Map(x => x.UnitTrustItem2, "UNIT_TRUST_ITEM_2");
            Map(x => x.UnitTrustItem3, "UNIT_TRUST_ITEM_3");
            Map(x => x.UnitTrustItem4, "UNIT_TRUST_ITEM_4");
            Map(x => x.UnitTrustItem5, "UNIT_TRUST_ITEM_5");
            Map(x => x.UnitTrustItem6, "UNIT_TRUST_ITEM_6");
            Map(x => x.UnitTrustItem7, "UNIT_TRUST_ITEM_7");
            Map(x => x.UnitTrustItem8, "UNIT_TRUST_ITEM_8");
            Map(x => x.UnitTrustItem9, "UNIT_TRUST_ITEM_9");
            Map(x => x.UnitTrustItem10, "UNIT_TRUST_ITEM_10");
            Map(x => x.UnitTrustItem111, "UNIT_TRUST_ITEM_11_1");
            Map(x => x.UnitTrustItem112, "UNIT_TRUST_ITEM_11_2");
            Map(x => x.UnitTrustItem113, "UNIT_TRUST_ITEM_11_3");
            Map(x => x.UnitTrustItem114, "UNIT_TRUST_ITEM_11_4");
            Map(x => x.UnitTrustItem115, "UNIT_TRUST_ITEM_11_5");
            Map(x => x.UnitTrustItem121, "UNIT_TRUST_ITEM_12_1");
            Map(x => x.UnitTrustItem122, "UNIT_TRUST_ITEM_12_2");
            Map(x => x.UnitTrustItem123, "UNIT_TRUST_ITEM_12_3");
            Map(x => x.UnitTrustItem124, "UNIT_TRUST_ITEM_12_4");
            Map(x => x.UnitTrustItem125, "UNIT_TRUST_ITEM_12_5");
            Map(x => x.CreateDate, "CREATE_DATE");
            Map(x => x.CreateBY, "CREATE_BY");
            Map(x => x.ModifyDate, "MODIFY_DATE");
            Map(x => x.ModifyBY, "MODIFY_BY");

        }


    }

}